<?php

if(!defined('ADMIN')){
	exit('Access Denied');
}

if(isset($_GET["id"])){ $_POST['ids']=$_GET["id"];}

$id_arr=$_POST['ids'];

if(!empty($id_arr)){
    if(!is_array($id_arr)){
        $id_arr1[]=$id_arr;
    }else{
        $id_arr1=$id_arr;
    }
    
    foreach($id_arr1 as $id){
                
        $ezhand->delete("shopping3_shop","id=".$id);
    }
    $re=1;

}
if($re==1){
    jumpajax('200','删除完成','');
}
else{
    jumpajax('300','删除错误','');
}
?>